package com.example.design.decoratorDemo.service;

import com.example.design.decoratorDemo.AbstractDecorator;
import com.example.design.decoratorDemo.GatewayComponent;

public class LogDecorator extends AbstractDecorator {
    public LogDecorator(GatewayComponent gatewayComponent) {
        super(gatewayComponent);
    }

    @Override
    public void service() {
        super.service();
        System.out.println("第二步>>> 网关中新增日志收集..");
    }
}
